package org.millioncall.yueyoga.admin.service;

import java.util.Map;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.Remaining;

public interface RemainingService {
	public Remaining findById(Integer Id);

	public PaginatedList<Remaining> findInPage(int pageNo, int pageSize);

	public PaginatedList<Remaining> findInPage(int pageNo, int pageSize,
			String[] paramNames, String[] paramValues);

	public boolean addRemaining(Map<String, Object> map);

	public void deleteRemainingByIds(Integer[] deids);

	public Remaining findyje(Integer memberId);

	/**
	 * 修改会员账户金额
	 * @param map
	 * @return
	 */
	public boolean updateRemainingById(Remaining remaining);
}
